<?php
return array(
    'view_manager' => array(
        'template_path_stack' => array(
            'zfcuser' => __DIR__ . '/../view',
        ),
    ),
    'controllers' => array(
        'invokables' => array(
            'zfcuser' => 'ZfcUser\Controller\UserController',
        ),
    ),
    'service_manager' => array(
        'aliases' => array(
            'zfcuser_zend_db_adapter' => 'Zend\Db\Adapter\Adapter',
        ),
    ),
    'router' => array(
        'routes' => array(
            'zfcuser' => array(
                'type' => 'Literal',
                'priority' => 1000,
                'options' => array(
                    'route' => '/user',
                    'defaults' => array(
                        'controller' => 'zfcuser',
                        'action'     => 'index',
                    ),
                ),
                'may_terminate' => true,
                'child_routes' => array(
                    'login' => array(
                        'type' => 'Literal',
                        'options' => array(
                            'route' => '/login',
                            'defaults' => array(
                                'controller' => 'zfcuser',
                                'action'     => 'login',
                            ),
                        ),
                    ),
					'reset-password' => array(
                        'type' => 'Literal',
                        'options' => array(
                            'route' => '/reset-password',
                            'defaults' => array(
                                'controller' => 'zfcuser',
                                'action'     => 'reset-password',
                            ),
                        ),
                    ),					
					'forgot-password' => array(
                        'type' => 'Literal',
                        'options' => array(
                            'route' => '/forgot-password',
                            'defaults' => array(
                                'controller' => 'zfcuser',
                                'action'     => 'forgot-password',
                            ),
                        ),
                    ),
					'cofirm-login'=> array(
                        'type' => 'Literal',
                        'options' => array(
                            'route' => '/cofirm-login',
                            'defaults' => array(
                                'controller' => 'zfcuser',
                                'action'     => 'cofirm-login',
                            ),
                        ),
                    ),
					'check-email' => array(
                        'type' => 'Literal',
                        'options' => array(
                            'route' => '/check-email',
                            'defaults' => array(
                                'controller' => 'zfcuser',
                                'action'     => 'check-email',
                            ),
                        ),
                    ),
					'update-password' => array(
                        'type' => 'Literal',
                        'options' => array(
                            'route' => '/update-password',
                            'defaults' => array(
                                'controller' => 'zfcuser',
                                'action'     => 'update-password',
                            ),
                        ),
                    ),
					'payment' => array(
                        'type' => 'Literal',
                        'options' => array(
                            'route' => '/payment',
                            'defaults' => array(
                                'controller' => 'zfcuser',
                                'action'     => 'payment',
                            ),
                        ),
                    ),
					'response' => array(
                        'type' => 'Literal',
                        'options' => array(
                            'route' => '/response',
                            'defaults' => array(
                                'controller' => 'zfcuser',
                                'action'     => 'response',
                            ),
                        ),
                    ),
                    'authenticate' => array(
                        'type' => 'Literal',
                        'options' => array(
                            'route' => '/authenticate',
                            'defaults' => array(
                                'controller' => 'zfcuser',
                                'action'     => 'authenticate',
                            ),
                        ),
                    ),
                    'logout' => array(
                        'type' => 'Literal',
                        'options' => array(
                            'route' => '/logout',
                            'defaults' => array(
                                'controller' => 'zfcuser',
                                'action'     => 'logout',
                            ),
                        ),
                    ),
					'home' => array(
                        'type' => 'Literal',
                        'options' => array(
                            'route' => '/home',
                            'defaults' => array(
                                'controller' => 'zfcuser',
                                'action'     => 'home',
                            ),
                        ),
                    ),
                    'register' => array(
                        'type' => 'Literal',
                        'options' => array(
                            'route' => '/register',
                            'defaults' => array(
                                'controller' => 'zfcuser',
                                'action'     => 'register',
                            ),
                        ),
                    ),
					'check-password' => array(
                        'type' => 'Literal',
                        'options' => array(
                            'route' => '/check-password',
                            'defaults' => array(
                                'controller' => 'zfcuser',
                                'action'     => 'check-password',
                            ),
                        ),                        
                    ),
					'error-already-active' => array(
                        'type' => 'Literal',
                        'options' => array(
                            'route' => '/error-already-active',
                            'defaults' => array(
                                'controller' => 'zfcuser',
                                'action'     => 'errorAlreadyActive',
                            ),
                        ),                        
                    ),
                    'change-password' => array(
                        'type' => 'Literal',
                        'options' => array(
                            'route' => '/change-password',
                            'defaults' => array(
                                'controller' => 'zfcuser',
                                'action'     => 'change-password',
                            ),
                        ),                        
                    ),
					'sent-forgotrequest' => array(
                        'type' => 'Literal',
                        'options' => array(
                            'route' => '/sent-forgotrequest',
                            'defaults' => array(
                                'controller' => 'zfcuser',
                                'action'     => 'sentForgotrequest',
                            ),
                        ),                        
                    ),
                    'changeemail' => array(
                        'type' => 'Literal',
                        'options' => array(
                            'route' => '/change-email',
                            'defaults' => array(
                                'controller' => 'zfcuser',
                                'action' => 'changeemail',
                            ),
                        ),                        
                    ),
					'update-board-class' => array(
                        'type' => 'Literal',
                        'options' => array(
                            'route' => '/update-board-class',
                            'defaults' => array(
                                'controller' => 'zfcuser',
                                'action' => 'updateBoardClass',
                            ),
                        ),                        
                    ),
                ),
            ),
        ),
    ),
	
);
